Class SamplerInfo

Inheritance Relationships

Base Type

Class Documentation

class SamplerInfo : public gpa::playback::ResourceInfo

Graphics API agnostic information for a sampler object.

Public Functions

virtual TypeId GetTypeId() const final override

Gets this SamplerInfo's TypeId.

Returns

This SamplerInfo's TypeId

Public Members

api_types::FilterMode minFilter = {api_types::GPA_FILTER_MODE_UNKNOWN}

This SamplerInfo's min filter.

api_types::FilterMode magFilter = {api_types::GPA_FILTER_MODE_UNKNOWN}

This SamplerInfo's mag filter.

api_types::FilterMode mipFilter = {api_types::GPA_FILTER_MODE_UNKNOWN}

This SamplerInfo's mip filter.

api_types::AddressMode addressModeU = {api_types::GPA_ADDRESS_MODE_UNKNOWN}

This SamplerInfo's address mode in the u axis.

api_types::AddressMode addressModeV = {api_types::GPA_ADDRESS_MODE_UNKNOWN}

This SamplerInfo's address mode in the v axis.

api_types::AddressMode addressModeW = {api_types::GPA_ADDRESS_MODE_UNKNOWN}

This SamplerInfo's address mode in the w axis.

float mipLodBias = {0}

This SamplerInfo's mip LOD bias.

bool anisotropyEnabled = {false}

Whether or not this SamplerInfo has anisotropic filtering enabled.

float maxAnisotropy = {0}

This SamplerInfo's max anisotropic filtering value.

bool compareEnabled = {false}

Whether or not this SamplerInfo has a comparison function enabled.

api_types::ComprisonFunction comparisonFunction = {api_types::GPA_COMPARISON_FUNCTION_UNKNOWN}

This SamplerInfo's comparison function.

float minLod = {0}

This SamplerInfo's min LOD value.

float maxLod = {0}

This SamplerInfo's max LOD value.

bool unnormalizedCoordinates = {false}

Whether or not this SamplerInfo utilizes unnormalized coordinates.

float borderColor[4] = {0, 0, 0, 0}

This SamplerInfo's border color.