The PortfolioKey class is a smart pointer to a database object. Portfolios are special objects that can only contain definitions. A segment can use a portfolio to gain access to the definitions it contains. More...

Public Member Functions | |
HPS.CubeMapDefinition | DefineCubeMap (string in_name, HPS.ImageDefinition in_negative_z, HPS.ImageDefinition in_positive_z, HPS.ImageDefinition in_negative_x, HPS.ImageDefinition in_positive_x, HPS.ImageDefinition in_negative_y, HPS.ImageDefinition in_positive_y) |
Creates a new cube map definition in this portfolio with the specified name, based on the specified images and with the default texture options. This will replace any existing cube map of the same name within this portfolio. The image sources must be defined within the same portfolio, if they are not, the returned definition will be invalid. More... | |
HPS.CubeMapDefinition | DefineCubeMap (string in_name, HPS.ImageDefinition in_negative_z, HPS.ImageDefinition in_positive_z, HPS.ImageDefinition in_negative_x, HPS.ImageDefinition in_positive_x, HPS.ImageDefinition in_negative_y, HPS.ImageDefinition in_positive_y, HPS.TextureOptionsKit in_options) |
Creates a new cube map definition in this portfolio with the specified name, based on the specified images and with the specified texture options. This will replace any existing cube map of the same name within this portfolio. The image sources must be defined within the same portfolio, if they are not, the returned definition will be invalid. More... | |
HPS.GlyphDefinition | DefineGlyph (string in_name, HPS.GlyphKit in_source) |
Creates a new glyph definition in this portfolio with the specified name using the source GlyphKit. This will replace any existing glyph of the same name within this portfolio. More... | |
HPS.ImageDefinition | DefineImage (string in_name, HPS.ImageKit in_source) |
Creates a new image definition in this portfolio with the specified name from the source ImageKit. This will replace any existing image of the same name within this portfolio. More... | |
HPS.LinePatternDefinition | DefineLinePattern (string in_name, HPS.LinePatternKit in_source) |
Creates a new line pattern definition in this portfolio with the specified name using the source LinePatternKit. This will replace any existing line pattern of the same name within this portfolio. More... | |
HPS.MaterialPaletteDefinition | DefineMaterialPalette (string in_name, HPS.MaterialKit[] in_source) |
Creates a new material palette definition in this portfolio with the specified name using the source MaterialKit array. This will replace any existing material palette of the same name within this portfolio. More... | |
HPS.NamedStyleDefinition | DefineNamedStyle (string in_name, HPS.SegmentKey in_style_source) |
Creates a new named style definition in this portfolio with the specified name using the source SegmentKey. This will replace any existing named style of the same name within this portfolio. More... | |
HPS.ShaderDefinition | DefineShader (string in_name, HPS.ShaderKit in_source) |
Internal use only - customers should not use. Creates a new shader definition in this portfolio with the specified name using the source ShaderKit. This will replace any existing shader of the same name within this portfolio. More... | |
HPS.ShapeDefinition | DefineShape (string in_name, HPS.ShapeKit in_source) |
Creates a new sjape definition in this portfolio with the specified name using the source ShapeKit. This will replace any existing shape of the same name within this portfolio. More... | |
HPS.TextureDefinition | DefineTexture (string in_name, HPS.ImageDefinition in_source) |
Creates a new texture definition in this portfolio with the specified name, based on the specified image and with the default texture options. This will replace any existing texture of the same name within this portfolio. The image source must be defined within the same portfolio, if it is not, the returned definition will be invalid. More... | |
HPS.TextureDefinition | DefineTexture (string in_name, HPS.ImageDefinition in_source, HPS.TextureOptionsKit in_options) |
Creates a new texture definition in this portfolio with the specified name, based on the specified image and with the specified texture options. This will replace any existing texture of the same name within this portfolio. The image source must be defined within the same portfolio, if it is not, the returned definition will be invalid. More... | |
override void | Dispose () |
ulong | GetCubeMapDefinitionCount () |
| |
ulong | GetDefinitionCount () |
| |
ulong | GetGlyphDefinitionCount () |
| |
ulong | GetImageDefinitionCount () |
| |
ulong | GetLinePatternDefinitionCount () |
| |
ulong | GetMaterialPaletteDefinitionCount () |
| |
ulong | GetNamedStyleDefinitionCount () |
| |
ulong | GetShaderDefinitionCount () |
Internal use only - customers should not use. More... | |
ulong | GetShapeDefinitionCount () |
| |
ulong | GetTextureDefinitionCount () |
| |
HPS.PortfolioKey | ImportAllCubeMaps (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all cube map definitions from the specified portfolio into this portfolio. By default, existing cube map definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllCubeMaps (HPS.PortfolioKey in_portfolio) |
Copy all cube map definitions from the specified portfolio into this portfolio. By default, existing cube map definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllGlyphs (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all glyph definitions from the specified portfolio into this portfolio. By default, existing glyph definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllGlyphs (HPS.PortfolioKey in_portfolio) |
Copy all glyph definitions from the specified portfolio into this portfolio. By default, existing glyph definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllImages (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all image definitions from the specified portfolio into this portfolio. By default, existing image definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllImages (HPS.PortfolioKey in_portfolio) |
Copy all image definitions from the specified portfolio into this portfolio. By default, existing image definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllLinePatterns (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all line pattern definitions from the specified portfolio into this portfolio. By default, existing line pattern definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllLinePatterns (HPS.PortfolioKey in_portfolio) |
Copy all line pattern definitions from the specified portfolio into this portfolio. By default, existing line pattern definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllMaterialPalettes (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all material palette definitions from the specified portfolio into this portfolio. By default, existing material palette definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllMaterialPalettes (HPS.PortfolioKey in_portfolio) |
Copy all material palette definitions from the specified portfolio into this portfolio. By default, existing material palette definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllNamedStyles (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all named style definitions from the specified portfolio into this portfolio. By default, existing named style definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllNamedStyles (HPS.PortfolioKey in_portfolio) |
Copy all named style definitions from the specified portfolio into this portfolio. By default, existing named style definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllShaders (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Internal use only - customers should not use. Copy all shader definitions from the specified portfolio into this portfolio. By default, existing shader definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllShaders (HPS.PortfolioKey in_portfolio) |
Internal use only - customers should not use. Copy all shader definitions from the specified portfolio into this portfolio. By default, existing shader definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllShapes (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all shape definitions from the specified portfolio into this portfolio. By default, existing shape definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllShapes (HPS.PortfolioKey in_portfolio) |
Copy all shape definitions from the specified portfolio into this portfolio. By default, existing shape definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllTextures (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all texture definitions from the specified portfolio into this portfolio. By default, existing texture definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportAllTextures (HPS.PortfolioKey in_portfolio) |
Copy all texture definitions from the specified portfolio into this portfolio. By default, existing texture definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.CubeMapDefinition | ImportCubeMap (HPS.CubeMapDefinition in_definition) |
Copy the specified cube map definition into this portfolio. This will replace an existing cube map definition of the same name. More... | |
HPS.GlyphDefinition | ImportGlyph (HPS.GlyphDefinition in_definition) |
Copy the specified glyph definition into this portfolio. This will replace an existing glyph definition of the same name. More... | |
HPS.ImageDefinition | ImportImage (HPS.ImageDefinition in_definition) |
Copy the specified image definition into this portfolio. This will replace an existing image definition of the same name. More... | |
HPS.LinePatternDefinition | ImportLinePattern (HPS.LinePatternDefinition in_definition) |
Copy the specified line pattern definition into this portfolio. This will replace an existing line pattern definition of the same name. More... | |
HPS.MaterialPaletteDefinition | ImportMaterialPalette (HPS.MaterialPaletteDefinition in_definition) |
Copy the specified material palette definition into this portfolio. This will replace an existing material palette definition of the same name. More... | |
HPS.NamedStyleDefinition | ImportNamedStyle (HPS.NamedStyleDefinition in_definition) |
Copy the specified named style definition into this portfolio. This will replace an existing named style definition of the same name. More... | |
HPS.PortfolioKey | ImportPortfolio (HPS.PortfolioKey in_portfolio, bool in_replace_existing) |
Copy all definitions from the specified portfolio into this portfolio. By default, existing definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.PortfolioKey | ImportPortfolio (HPS.PortfolioKey in_portfolio) |
Copy all definitions from the specified portfolio into this portfolio. By default, existing definitions of the same name within this portfolio will be replaced, unless otherwise specified. More... | |
HPS.ShaderDefinition | ImportShader (HPS.ShaderDefinition in_definition) |
Internal use only - customers should not use. Copy the specified shader definition into this portfolio. This will replace an existing shader definition of the same name. More... | |
HPS.ShapeDefinition | ImportShape (HPS.ShapeDefinition in_definition) |
Copy the specified shape definition into this portfolio. This will replace an existing shape definition of the same name. More... | |
HPS.TextureDefinition | ImportTexture (HPS.TextureDefinition in_definition) |
Copy the specified texture definition into this portfolio. This will replace an existing texture definition of the same name. More... | |
override HPS.Type | ObjectType () |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object. More... | |
PortfolioKey () | |
The default constructor creates an uninitialized PortfolioKey object. The Type() function will return Type::None. More... | |
PortfolioKey (HPS.Key in_that) | |
This constructor creates a PortfolioKey object that shares the underlying smart-pointer of the source Key. The copy will only be successful if the source key is really an upcast of an offscreen window. Otherwise the copy will fail and the resulting PortfolioKey will be invalid. More... | |
PortfolioKey (HPS.PortfolioKey in_that) | |
The copy constructor creates a PortfolioKey object that shares the underlying smart-pointer of the source PortfolioKey. More... | |
bool | ShowAllCubeMapDefinitions (out HPS.CubeMapDefinition[] out_definitions) |
Shows all cube maps defined within this portfolio. More... | |
bool | ShowAllGlyphDefinitions (out HPS.GlyphDefinition[] out_definitions) |
Shows all glyphs defined within this portfolio. More... | |
bool | ShowAllImageDefinitions (out HPS.ImageDefinition[] out_definitions) |
Shows all images defined within this portfolio. More... | |
bool | ShowAllLinePatternDefinitions (out HPS.LinePatternDefinition[] out_definitions) |
Shows all line patterns defined within this portfolio. More... | |
bool | ShowAllMaterialPaletteDefinitions (out HPS.MaterialPaletteDefinition[] out_definitions) |
Shows all material palettes defined within this portfolio. More... | |
bool | ShowAllNamedStyleDefinitions (out HPS.NamedStyleDefinition[] out_definitions) |
Shows all named styles defined within this portfolio. More... | |
bool | ShowAllShaderDefinitions (out HPS.ShaderDefinition[] out_definitions) |
Internal use only - customers should not use. Shows all shaders defined within this portfolio. More... | |
bool | ShowAllShapeDefinitions (out HPS.ShapeDefinition[] out_definitions) |
Shows all shapes defined within this portfolio. More... | |
bool | ShowAllTextureDefinitions (out HPS.TextureDefinition[] out_definitions) |
Shows all textures defined within this portfolio. More... | |
bool | ShowCubeMapDefinition (string in_name) |
Finds the cube map definition with the specified name in this portfolio. More... | |
bool | ShowCubeMapDefinition (string in_name, out HPS.CubeMapDefinition out_found) |
Finds the cube map definition with the specified name in this portfolio. More... | |
bool | ShowGlyphDefinition (string in_name) |
Finds the glyph definition with the specified name in this portfolio. More... | |
bool | ShowGlyphDefinition (string in_name, out HPS.GlyphDefinition out_found) |
Finds the glyph definition with the specified name in this portfolio. More... | |
bool | ShowImageDefinition (string in_name) |
Finds the image definition with the specified name in this portfolio. More... | |
bool | ShowImageDefinition (string in_name, out HPS.ImageDefinition out_found) |
Finds the image definition with the specified name in this portfolio. More... | |
bool | ShowLinePatternDefinition (string in_name) |
Finds the line pattern definition with the specified name in this portfolio. More... | |
bool | ShowLinePatternDefinition (string in_name, out HPS.LinePatternDefinition out_found) |
Finds the line pattern definition with the specified name in this portfolio. More... | |
bool | ShowMaterialPaletteDefinition (string in_name) |
Finds the material palette definition with the specified name in this portfolio. More... | |
bool | ShowMaterialPaletteDefinition (string in_name, out HPS.MaterialPaletteDefinition out_found) |
Finds the material palette definition with the specified name in this portfolio. More... | |
bool | ShowNamedStyleDefinition (string in_name) |
Finds the named style definition with the specified name in this portfolio. More... | |
bool | ShowNamedStyleDefinition (string in_name, out HPS.NamedStyleDefinition out_found) |
Finds the named style definition with the specified name in this portfolio. More... | |
bool | ShowShaderDefinition (string in_name) |
Internal use only - customers should not use. Finds the shader definition with the specified name in this portfolio. More... | |
bool | ShowShaderDefinition (string in_name, out HPS.ShaderDefinition out_found) |
Internal use only - customers should not use. Finds the shader definition with the specified name in this portfolio. More... | |
bool | ShowShapeDefinition (string in_name) |
Finds the shape definition with the specified name in this portfolio. More... | |
bool | ShowShapeDefinition (string in_name, out HPS.ShapeDefinition out_found) |
Finds the shape definition with the specified name in this portfolio. More... | |
bool | ShowTextureDefinition (string in_name) |
Finds the texture definition with the specified name in this portfolio. More... | |
bool | ShowTextureDefinition (string in_name, out HPS.TextureDefinition out_found) |
Finds the texture definition with the specified name in this portfolio. More... | |
HPS.PortfolioKey | UndefineCubeMap (string in_name) |
Remove the cube map definition with the specified name from this portfolio. More... | |
HPS.PortfolioKey | UndefineGlyph (string in_name) |
Remove the glyph definition with the specified name from this portfolio. More... | |
HPS.PortfolioKey | UndefineImage (string in_name) |
Remove the image definition with the specified name from this portfolio. More... | |
HPS.PortfolioKey | UndefineLinePattern (string in_name) |
Remove the line pattern definition with the specified name from this portfolio. More... | |
HPS.PortfolioKey | UndefineMaterialPalette (string in_name) |
Remove the material palette definition with the specified name from this portfolio. More... | |
HPS.PortfolioKey | UndefineNamedStyle (string in_name) |
Remove the named style definition with the specified name from this portfolio. More... | |
HPS.PortfolioKey | UndefineShader (string in_name) |
Internal use only - customers should not use. Remove the shader definition with the specified name from this portfolio. More... | |
HPS.PortfolioKey | UndefineShape (string in_name) |
Remove the shape definition with the specified name from this portfolio. More... | |
HPS.PortfolioKey | UndefineTexture (string in_name) |
Remove the texture definition with the specified name from this portfolio. More... | |
![]() | |
virtual void | Assign (HPS.Key in_that) |
Share the underlying smart-pointer of the Key source. More... | |
HPS.Key | CopyTo (HPS.SegmentKey in_destination) |
Copies the database object referred to by this key into a segment pointed to by in_destination. More... | |
void | Delete () |
Removes the database object referred to by this key. More... | |
override bool | Equals (System.Object obj) |
bool | Equals (HPS.Key in_that) |
Determines whether the database objects pointed to by this key and in_that are the same. Empty keys (when key.Empty() returns true) are never equal to any key, even when the key is compared against itself (they act analogously to NaN comparisons in this case.) More... | |
ulong | GetHash () |
Returns a hash code for the key. More... | |
override int | GetHashCode () |
bool | HasOwner () |
| |
Key () | |
An uninitialized key refers to no database object and Type() will return Type::None. More... | |
Key (HPS.Key in_that) | |
Shares a reference to a database object referred to by in_that. More... | |
Key (HPS.Control in_control) | |
Initializes a key tied to the Control in_control. More... | |
void | MoveTo (HPS.SegmentKey in_new_owner) |
Moves the database object referred to by this key into a new containing segment pointed to by in_new_owner. More... | |
HPS.SegmentKey | Owner () |
| |
HPS.SegmentKey | Up () |
| |
![]() | |
virtual bool | Empty () |
Indicates whether this object has any values set on it. More... | |
IntPtr | GetClassID () |
IntPtr | GetInstanceID () |
Returns an identifier that can be used to identify which instance of a class an object is. Different keys and controls will return the same value if they are backed by the same database resource. More... | |
bool | HasType (HPS.Type in_mask) |
This function indicates whether this Object has the given Type mask. More... | |
Object (HPS.Object that) | |
virtual void | Reset () |
Resets this object to its initial, uninitialized state. More... | |
HPS.Type | Type () |
This function returns the true type of the underlying object. This function is useful for finding the type of smart pointer objects that have been cast to more generic types. More... | |
Protected Member Functions | |
override void | deleteCptr () |
![]() | |
virtual IntPtr | GetNonDirectorClassID () |
Additional Inherited Members | |
![]() | |
static bool | operator!= (HPS.Key a, HPS.Key b) |
static bool | operator== (HPS.Key a, HPS.Key b) |
![]() | |
static IntPtr | ClassID< T > () |
![]() | |
bool | cMemOwn |
HandleRef | cptr |
Detailed Description
The PortfolioKey class is a smart pointer to a database object. Portfolios are special objects that can only contain definitions. A segment can use a portfolio to gain access to the definitions it contains.
Constructor & Destructor Documentation
|
inline |
The default constructor creates an uninitialized PortfolioKey object. The Type() function will return Type::None.
|
inline |
This constructor creates a PortfolioKey object that shares the underlying smart-pointer of the source Key. The copy will only be successful if the source key is really an upcast of an offscreen window. Otherwise the copy will fail and the resulting PortfolioKey will be invalid.
|
inline |
The copy constructor creates a PortfolioKey object that shares the underlying smart-pointer of the source PortfolioKey.
- Parameters
-
in_that The source PortfolioKey to copy.
Member Function Documentation
|
inline |
Creates a new cube map definition in this portfolio with the specified name, based on the specified images and with the default texture options. This will replace any existing cube map of the same name within this portfolio. The image sources must be defined within the same portfolio, if they are not, the returned definition will be invalid.
- Parameters
-
in_name UTF8-encoded name for the new cube map definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_negative_z The source image for the negative z-axis for the new cube map definition. in_positive_z The source image for the positive z-axis for the new cube map definition. in_negative_x The source image for the negative x-axis for the new cube map definition. in_positive_x The source image for the positive x-axis for the new cube map definition. in_negative_y The source image for the negative y-axis for the new cube map definition. in_positive_y The source image for the positive y-axis for the new cube map definition.
- Returns
- A newly created CubeMapDefinition.
|
inline |
Creates a new cube map definition in this portfolio with the specified name, based on the specified images and with the specified texture options. This will replace any existing cube map of the same name within this portfolio. The image sources must be defined within the same portfolio, if they are not, the returned definition will be invalid.
- Parameters
-
in_name UTF8-encoded name for the new cube map definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_negative_z The source image for the negative z-axis for the new cube map definition. in_positive_z The source image for the positive z-axis for the new cube map definition. in_negative_x The source image for the negative x-axis for the new cube map definition. in_positive_x The source image for the positive x-axis for the new cube map definition. in_negative_y The source image for the negative y-axis for the new cube map definition. in_positive_y The source image for the positive y-axis for the new cube map definition. in_options The texture options for the new cube map definition.
- Returns
- A newly created CubeMapDefinition.
|
inline |
Creates a new glyph definition in this portfolio with the specified name using the source GlyphKit. This will replace any existing glyph of the same name within this portfolio.
- Parameters
-
in_name UTF8-encoded name for the new glyph definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_source The source GlyphKit for the new glyph definition.
- Returns
- A newly created GlyphDefinition.
|
inline |
Creates a new image definition in this portfolio with the specified name from the source ImageKit. This will replace any existing image of the same name within this portfolio.
- Parameters
-
in_name UTF8-encoded name for the new image definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_source The source ImageKit for the new image definition.
- Returns
- A newly created ImageDefinition.
|
inline |
Creates a new line pattern definition in this portfolio with the specified name using the source LinePatternKit. This will replace any existing line pattern of the same name within this portfolio.
- Parameters
-
in_name UTF8-encoded name for the new line pattern definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_source The source LinePatternKit for the new line pattern definition.
- Returns
- A newly created LinePatternDefinition.
|
inline |
Creates a new material palette definition in this portfolio with the specified name using the source MaterialKit array. This will replace any existing material palette of the same name within this portfolio.
- Parameters
-
in_name UTF8-encoded name for the new material palette definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_source The source MaterialKit array for the new material palette definition.
- Returns
- A newly created MaterialPaletteDefinition.
|
inline |
Creates a new named style definition in this portfolio with the specified name using the source SegmentKey. This will replace any existing named style of the same name within this portfolio.
- Parameters
-
in_name UTF8-encoded name for the new named style definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_style_source The source SegmentKey for the new named style definition.
- Returns
- A newly created NamedStyleDefinition.
|
inline |
Internal use only - customers should not use. Creates a new shader definition in this portfolio with the specified name using the source ShaderKit. This will replace any existing shader of the same name within this portfolio.
- Parameters
-
in_name UTF8-encoded name for the new shader definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_source The source ShaderKit for the new shader definition.
- Returns
- A newly created ShaderDefinition.
|
inline |
Creates a new sjape definition in this portfolio with the specified name using the source ShapeKit. This will replace any existing shape of the same name within this portfolio.
- Parameters
-
in_name UTF8-encoded name for the new shape definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_source The source ShapeKit for the new shape definition.
- Returns
- A newly created ShapeDefinition.
|
inline |
Creates a new texture definition in this portfolio with the specified name, based on the specified image and with the default texture options. This will replace any existing texture of the same name within this portfolio. The image source must be defined within the same portfolio, if it is not, the returned definition will be invalid.
- Parameters
-
in_name UTF8-encoded name for the new texture definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_source The source image for the new texture definition.
- Returns
- A newly created TextureDefinition.
|
inline |
Creates a new texture definition in this portfolio with the specified name, based on the specified image and with the specified texture options. This will replace any existing texture of the same name within this portfolio. The image source must be defined within the same portfolio, if it is not, the returned definition will be invalid.
- Parameters
-
in_name UTF8-encoded name for the new texture definition. If null_ptr or empty string is used for this parameter, a nameless definition will be created. in_source The source image for the new texture definition. in_options The texture options for the new texture definition.
- Returns
- A newly created TextureDefinition.
|
inline |
Internal use only - customers should not use.
- Returns
- The number of shader definitions in this portfolio.
|
inline |
Copy all cube map definitions from the specified portfolio into this portfolio. By default, existing cube map definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the cube map definitions from. in_replace_existing Whether to replace existing cube map definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all cube map definitions from the specified portfolio into this portfolio. By default, existing cube map definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the cube map definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all glyph definitions from the specified portfolio into this portfolio. By default, existing glyph definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the glyph definitions from. in_replace_existing Whether to replace existing glyph definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all glyph definitions from the specified portfolio into this portfolio. By default, existing glyph definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the glyph definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all image definitions from the specified portfolio into this portfolio. By default, existing image definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the image definitions from. in_replace_existing Whether to replace existing image definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all image definitions from the specified portfolio into this portfolio. By default, existing image definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the image definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all line pattern definitions from the specified portfolio into this portfolio. By default, existing line pattern definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the line pattern definitions from. in_replace_existing Whether to replace existing line pattern definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all line pattern definitions from the specified portfolio into this portfolio. By default, existing line pattern definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the line pattern definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all material palette definitions from the specified portfolio into this portfolio. By default, existing material palette definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the material palette definitions from. in_replace_existing Whether to replace existing material palette definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all material palette definitions from the specified portfolio into this portfolio. By default, existing material palette definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the material palette definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all named style definitions from the specified portfolio into this portfolio. By default, existing named style definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the named style definitions from. in_replace_existing Whether to replace existing named style definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all named style definitions from the specified portfolio into this portfolio. By default, existing named style definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the named style definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Internal use only - customers should not use. Copy all shader definitions from the specified portfolio into this portfolio. By default, existing shader definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the shader definitions from. in_replace_existing Whether to replace existing shader definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Internal use only - customers should not use. Copy all shader definitions from the specified portfolio into this portfolio. By default, existing shader definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the shader definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all shape definitions from the specified portfolio into this portfolio. By default, existing shape definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the shape definitions from. in_replace_existing Whether to replace existing shape definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all shape definitions from the specified portfolio into this portfolio. By default, existing shape definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the shape definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all texture definitions from the specified portfolio into this portfolio. By default, existing texture definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the texture definitions from. in_replace_existing Whether to replace existing texture definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all texture definitions from the specified portfolio into this portfolio. By default, existing texture definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the texture definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy the specified cube map definition into this portfolio. This will replace an existing cube map definition of the same name.
- Parameters
-
in_definition The source cube map definition to copy into this portfolio.
- Returns
- A newly created CubeMapDefinition.
|
inline |
Copy the specified glyph definition into this portfolio. This will replace an existing glyph definition of the same name.
- Parameters
-
in_definition The source glyph definition to copy into this portfolio.
- Returns
- A newly created GlyphDefinition.
|
inline |
Copy the specified image definition into this portfolio. This will replace an existing image definition of the same name.
- Parameters
-
in_definition The source image definition to copy into this portfolio.
- Returns
- A newly created ImageDefinition.
|
inline |
Copy the specified line pattern definition into this portfolio. This will replace an existing line pattern definition of the same name.
- Parameters
-
in_definition The source line pattern definition to copy into this portfolio.
- Returns
- A newly created LinePatternDefinition.
|
inline |
Copy the specified material palette definition into this portfolio. This will replace an existing material palette definition of the same name.
- Parameters
-
in_definition The source material palette definition to copy into this portfolio.
- Returns
- A newly created MaterialPaletteDefinition.
|
inline |
Copy the specified named style definition into this portfolio. This will replace an existing named style definition of the same name.
- Parameters
-
in_definition The source named style definition to copy into this portfolio.
- Returns
- A newly created NamedStyleDefinition.
|
inline |
Copy all definitions from the specified portfolio into this portfolio. By default, existing definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the definitions from. in_replace_existing Whether to replace existing definitions of the same name. Defaults to true.
- Returns
- A reference to this PortfolioKey.
|
inline |
Copy all definitions from the specified portfolio into this portfolio. By default, existing definitions of the same name within this portfolio will be replaced, unless otherwise specified.
- Parameters
-
in_portfolio The source portfolio to copy the definitions from.
- Returns
- A reference to this PortfolioKey.
|
inline |
Internal use only - customers should not use. Copy the specified shader definition into this portfolio. This will replace an existing shader definition of the same name.
- Parameters
-
in_definition The source shader definition to copy into this portfolio.
- Returns
- A newly created ShaderDefinition.
|
inline |
Copy the specified shape definition into this portfolio. This will replace an existing shape definition of the same name.
- Parameters
-
in_definition The source shape definition to copy into this portfolio.
- Returns
- A newly created ShapeDefinition.
|
inline |
Copy the specified texture definition into this portfolio. This will replace an existing texture definition of the same name.
- Parameters
-
in_definition The source texture definition to copy into this portfolio.
- Returns
- A newly created TextureDefinition.
|
inlinevirtual |
This function returns the type the object, as declared. This does not necessarily give the true type of the underlying object.
- Returns
- The declared type of the object in question, which may differ from the true, underlying type.
Reimplemented from HPS.Key.
|
inline |
Shows all cube maps defined within this portfolio.
- Parameters
-
out_definitions The array of cube maps defined within this portfolio.
- Returns
- true if any cube maps are defined in this portfolio, false otherwise.
|
inline |
Shows all glyphs defined within this portfolio.
- Parameters
-
out_definitions The array of glyphs defined within this portfolio.
- Returns
- true if any glyphs are defined in this portfolio, false otherwise.
|
inline |
Shows all images defined within this portfolio.
- Parameters
-
out_definitions The array of images defined within this portfolio.
- Returns
- true if any images are defined in this portfolio, false otherwise.
|
inline |
Shows all line patterns defined within this portfolio.
- Parameters
-
out_definitions The array of line patterns defined within this portfolio.
- Returns
- true if any line patterns are defined in this portfolio, false otherwise.
|
inline |
Shows all material palettes defined within this portfolio.
- Parameters
-
out_definitions The array of material palettes defined within this portfolio.
- Returns
- true if any material palettes are defined in this portfolio, false otherwise.
|
inline |
Shows all named styles defined within this portfolio.
- Parameters
-
out_definitions The array of named styles defined within this portfolio.
- Returns
- true if any named styles are defined in this portfolio, false otherwise.
|
inline |
Internal use only - customers should not use. Shows all shaders defined within this portfolio.
- Parameters
-
out_definitions The array of shaders defined within this portfolio.
- Returns
- true if any shaders are defined in this portfolio, false otherwise.
|
inline |
Shows all shapes defined within this portfolio.
- Parameters
-
out_definitions The array of shapes defined within this portfolio.
- Returns
- true if any shapes are defined in this portfolio, false otherwise.
|
inline |
Shows all textures defined within this portfolio.
- Parameters
-
out_definitions The array of textures defined within this portfolio.
- Returns
- true if any textures are defined in this portfolio, false otherwise.
|
inline |
Finds the cube map definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the cube map to find in this portfolio.
- Returns
- true if a cube map definition with the specified name was found, false otherwise.
|
inline |
Finds the cube map definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the cube map to find in this portfolio. out_found The cube map definition from this portfolio with the specified name.
- Returns
- true if a cube map definition with the specified name was found, false otherwise.
|
inline |
Finds the glyph definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the glyph to find in this portfolio.
- Returns
- true if a glyph definition with the specified name was found, false otherwise.
|
inline |
Finds the glyph definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the glyph to find in this portfolio. out_found The glyph definition from this portfolio with the specified name.
- Returns
- true if a glyph definition with the specified name was found, false otherwise.
|
inline |
Finds the image definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the image to find in this portfolio.
- Returns
- true if an image definition with the specified name was found, false otherwise.
|
inline |
Finds the image definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the image to find in this portfolio. out_found The image definition from this portfolio with the specified name.
- Returns
- true if an image definition with the specified name was found, false otherwise.
|
inline |
Finds the line pattern definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the line pattern to find in this portfolio.
- Returns
- true if a line pattern definition with the specified name was found, false otherwise.
|
inline |
Finds the line pattern definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the line pattern to find in this portfolio. out_found The line pattern definition from this portfolio with the specified name.
- Returns
- true if a line pattern definition with the specified name was found, false otherwise.
|
inline |
Finds the material palette definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the material palette to find in this portfolio.
- Returns
- true if a material palette definition with the specified name was found, false otherwise.
|
inline |
Finds the material palette definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the material palette to find in this portfolio. out_found The material palette definition from this portfolio with the specified name.
- Returns
- true if a material palette definition with the specified name was found, false otherwise.
|
inline |
Finds the named style definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the named style to find in this portfolio.
- Returns
- true if a named style definition with the specified name was found, false otherwise.
|
inline |
Finds the named style definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the named style to find in this portfolio. out_found The named style definition from this portfolio with the specified name.
- Returns
- true if a named style definition with the specified name was found, false otherwise.
|
inline |
Internal use only - customers should not use. Finds the shader definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the shader to find in this portfolio.
- Returns
- true if a shader definition with the specified name was found, false otherwise.
|
inline |
Internal use only - customers should not use. Finds the shader definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the shader to find in this portfolio. out_found The shader definition from this portfolio with the specified name.
- Returns
- true if a shader definition with the specified name was found, false otherwise.
|
inline |
Finds the shape definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the shape to find in this portfolio.
- Returns
- true if a shape definition with the specified name was found, false otherwise.
|
inline |
Finds the shape definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the shape to find in this portfolio. out_found The shape definition from this portfolio with the specified name.
- Returns
- true if a shape definition with the specified name was found, false otherwise.
|
inline |
Finds the texture definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the texture to find in this portfolio.
- Returns
- true if a texture definition with the specified name was found, false otherwise.
|
inline |
Finds the texture definition with the specified name in this portfolio.
- Parameters
-
in_name UTF8-encoded name of the texture to find in this portfolio. out_found The texture definition from this portfolio with the specified name.
- Returns
- true if a texture definition with the specified name was found, false otherwise.
|
inline |
Remove the cube map definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the cube map to remove.
- Returns
- A reference to this PortfolioKey.
|
inline |
Remove the glyph definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the glyph to remove.
- Returns
- A reference to this PortfolioKey.
|
inline |
Remove the image definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the image to remove.
- Returns
- A reference to this PortfolioKey.
|
inline |
Remove the line pattern definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the line pattern to remove.
- Returns
- A reference to this PortfolioKey.
|
inline |
Remove the material palette definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the material palette to remove.
- Returns
- A reference to this PortfolioKey.
|
inline |
Remove the named style definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the named style to remove.
- Returns
- A reference to this PortfolioKey.
|
inline |
Internal use only - customers should not use. Remove the shader definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the shader to remove.
- Returns
- A reference to this PortfolioKey.
|
inline |
Remove the shape definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the shape to remove.
- Returns
- A reference to this PortfolioKey.
|
inline |
Remove the texture definition with the specified name from this portfolio.
- Parameters
-
in_name UTF8-encoded name of the texture to remove.
- Returns
- A reference to this PortfolioKey.
The documentation for this class was generated from the following file:
- internals/hps_core/source/cs/HPS.PortfolioKey.cs